package com.jsh.erp.datasource.entities;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountItemExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountItemExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andHeaderIdIsNull() {
            addCriterion("header_id is null");
            return (Criteria) this;
        }

        public Criteria andHeaderIdIsNotNull() {
            addCriterion("header_id is not null");
            return (Criteria) this;
        }

        public Criteria andHeaderIdEqualTo(String value) {
            addCriterion("header_id =", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdNotEqualTo(String value) {
            addCriterion("header_id <>", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdGreaterThan(String value) {
            addCriterion("header_id >", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdGreaterThanOrEqualTo(String value) {
            addCriterion("header_id >=", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdLessThan(String value) {
            addCriterion("header_id <", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdLessThanOrEqualTo(String value) {
            addCriterion("header_id <=", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdLike(String value) {
            addCriterion("header_id like", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdNotLike(String value) {
            addCriterion("header_id not like", value, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdIn(List<String> values) {
            addCriterion("header_id in", values, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdNotIn(List<String> values) {
            addCriterion("header_id not in", values, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdBetween(String value1, String value2) {
            addCriterion("header_id between", value1, value2, "headerId");
            return (Criteria) this;
        }

        public Criteria andHeaderIdNotBetween(String value1, String value2) {
            addCriterion("header_id not between", value1, value2, "headerId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(String value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(String value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(String value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(String value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(String value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLike(String value) {
            addCriterion("account_id like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotLike(String value) {
            addCriterion("account_id not like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<String> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<String> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(String value1, String value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(String value1, String value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdIsNull() {
            addCriterion("in_out_item_id is null");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdIsNotNull() {
            addCriterion("in_out_item_id is not null");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdEqualTo(String value) {
            addCriterion("in_out_item_id =", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdNotEqualTo(String value) {
            addCriterion("in_out_item_id <>", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdGreaterThan(String value) {
            addCriterion("in_out_item_id >", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("in_out_item_id >=", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdLessThan(String value) {
            addCriterion("in_out_item_id <", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdLessThanOrEqualTo(String value) {
            addCriterion("in_out_item_id <=", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdLike(String value) {
            addCriterion("in_out_item_id like", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdNotLike(String value) {
            addCriterion("in_out_item_id not like", value, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdIn(List<String> values) {
            addCriterion("in_out_item_id in", values, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdNotIn(List<String> values) {
            addCriterion("in_out_item_id not in", values, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdBetween(String value1, String value2) {
            addCriterion("in_out_item_id between", value1, value2, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andInOutItemIdNotBetween(String value1, String value2) {
            addCriterion("in_out_item_id not between", value1, value2, "inOutItemId");
            return (Criteria) this;
        }

        public Criteria andBillIdIsNull() {
            addCriterion("bill_id is null");
            return (Criteria) this;
        }

        public Criteria andBillIdIsNotNull() {
            addCriterion("bill_id is not null");
            return (Criteria) this;
        }

        public Criteria andBillIdEqualTo(String value) {
            addCriterion("bill_id =", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdNotEqualTo(String value) {
            addCriterion("bill_id <>", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdGreaterThan(String value) {
            addCriterion("bill_id >", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdGreaterThanOrEqualTo(String value) {
            addCriterion("bill_id >=", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdLessThan(String value) {
            addCriterion("bill_id <", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdLessThanOrEqualTo(String value) {
            addCriterion("bill_id <=", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdLike(String value) {
            addCriterion("bill_id like", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdNotLike(String value) {
            addCriterion("bill_id not like", value, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdIn(List<String> values) {
            addCriterion("bill_id in", values, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdNotIn(List<String> values) {
            addCriterion("bill_id not in", values, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdBetween(String value1, String value2) {
            addCriterion("bill_id between", value1, value2, "billId");
            return (Criteria) this;
        }

        public Criteria andBillIdNotBetween(String value1, String value2) {
            addCriterion("bill_id not between", value1, value2, "billId");
            return (Criteria) this;
        }

        public Criteria andNeedDebtIsNull() {
            addCriterion("need_debt is null");
            return (Criteria) this;
        }

        public Criteria andNeedDebtIsNotNull() {
            addCriterion("need_debt is not null");
            return (Criteria) this;
        }

        public Criteria andNeedDebtEqualTo(BigDecimal value) {
            addCriterion("need_debt =", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtNotEqualTo(BigDecimal value) {
            addCriterion("need_debt <>", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtGreaterThan(BigDecimal value) {
            addCriterion("need_debt >", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("need_debt >=", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtLessThan(BigDecimal value) {
            addCriterion("need_debt <", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("need_debt <=", value, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtIn(List<BigDecimal> values) {
            addCriterion("need_debt in", values, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtNotIn(List<BigDecimal> values) {
            addCriterion("need_debt not in", values, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("need_debt between", value1, value2, "needDebt");
            return (Criteria) this;
        }

        public Criteria andNeedDebtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("need_debt not between", value1, value2, "needDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtIsNull() {
            addCriterion("finish_debt is null");
            return (Criteria) this;
        }

        public Criteria andFinishDebtIsNotNull() {
            addCriterion("finish_debt is not null");
            return (Criteria) this;
        }

        public Criteria andFinishDebtEqualTo(BigDecimal value) {
            addCriterion("finish_debt =", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtNotEqualTo(BigDecimal value) {
            addCriterion("finish_debt <>", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtGreaterThan(BigDecimal value) {
            addCriterion("finish_debt >", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("finish_debt >=", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtLessThan(BigDecimal value) {
            addCriterion("finish_debt <", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtLessThanOrEqualTo(BigDecimal value) {
            addCriterion("finish_debt <=", value, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtIn(List<BigDecimal> values) {
            addCriterion("finish_debt in", values, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtNotIn(List<BigDecimal> values) {
            addCriterion("finish_debt not in", values, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("finish_debt between", value1, value2, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andFinishDebtNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("finish_debt not between", value1, value2, "finishDebt");
            return (Criteria) this;
        }

        public Criteria andEachAmountIsNull() {
            addCriterion("each_amount is null");
            return (Criteria) this;
        }

        public Criteria andEachAmountIsNotNull() {
            addCriterion("each_amount is not null");
            return (Criteria) this;
        }

        public Criteria andEachAmountEqualTo(BigDecimal value) {
            addCriterion("each_amount =", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountNotEqualTo(BigDecimal value) {
            addCriterion("each_amount <>", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountGreaterThan(BigDecimal value) {
            addCriterion("each_amount >", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("each_amount >=", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountLessThan(BigDecimal value) {
            addCriterion("each_amount <", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("each_amount <=", value, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountIn(List<BigDecimal> values) {
            addCriterion("each_amount in", values, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountNotIn(List<BigDecimal> values) {
            addCriterion("each_amount not in", values, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("each_amount between", value1, value2, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andEachAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("each_amount not between", value1, value2, "eachAmount");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(String value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(String value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(String value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(String value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(String value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLike(String value) {
            addCriterion("tenant_id like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotLike(String value) {
            addCriterion("tenant_id not like", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<String> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<String> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(String value1, String value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(String value1, String value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(String value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(String value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(String value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(String value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLike(String value) {
            addCriterion("delete_flag like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotLike(String value) {
            addCriterion("delete_flag not like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<String> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<String> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(String value1, String value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(String value1, String value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNull() {
            addCriterion("upload_flag is null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIsNotNull() {
            addCriterion("upload_flag is not null");
            return (Criteria) this;
        }

        public Criteria andUploadFlagEqualTo(String value) {
            addCriterion("upload_flag =", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotEqualTo(String value) {
            addCriterion("upload_flag <>", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThan(String value) {
            addCriterion("upload_flag >", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagGreaterThanOrEqualTo(String value) {
            addCriterion("upload_flag >=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThan(String value) {
            addCriterion("upload_flag <", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLessThanOrEqualTo(String value) {
            addCriterion("upload_flag <=", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagLike(String value) {
            addCriterion("upload_flag like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotLike(String value) {
            addCriterion("upload_flag not like", value, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagIn(List<String> values) {
            addCriterion("upload_flag in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotIn(List<String> values) {
            addCriterion("upload_flag not in", values, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagBetween(String value1, String value2) {
            addCriterion("upload_flag between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUploadFlagNotBetween(String value1, String value2) {
            addCriterion("upload_flag not between", value1, value2, "uploadFlag");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeIsNull() {
            addCriterion("exchange_time is null");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeIsNotNull() {
            addCriterion("exchange_time is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeEqualTo(Date value) {
            addCriterion("exchange_time =", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeNotEqualTo(Date value) {
            addCriterion("exchange_time <>", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeGreaterThan(Date value) {
            addCriterion("exchange_time >", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("exchange_time >=", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeLessThan(Date value) {
            addCriterion("exchange_time <", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("exchange_time <=", value, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeIn(List<Date> values) {
            addCriterion("exchange_time in", values, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeNotIn(List<Date> values) {
            addCriterion("exchange_time not in", values, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeBetween(Date value1, Date value2) {
            addCriterion("exchange_time between", value1, value2, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andExchangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("exchange_time not between", value1, value2, "exchangeTime");
            return (Criteria) this;
        }

        public Criteria andCheckCodeIsNull() {
            addCriterion("check_code is null");
            return (Criteria) this;
        }

        public Criteria andCheckCodeIsNotNull() {
            addCriterion("check_code is not null");
            return (Criteria) this;
        }

        public Criteria andCheckCodeEqualTo(String value) {
            addCriterion("check_code =", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeNotEqualTo(String value) {
            addCriterion("check_code <>", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeGreaterThan(String value) {
            addCriterion("check_code >", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeGreaterThanOrEqualTo(String value) {
            addCriterion("check_code >=", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeLessThan(String value) {
            addCriterion("check_code <", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeLessThanOrEqualTo(String value) {
            addCriterion("check_code <=", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeLike(String value) {
            addCriterion("check_code like", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeNotLike(String value) {
            addCriterion("check_code not like", value, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeIn(List<String> values) {
            addCriterion("check_code in", values, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeNotIn(List<String> values) {
            addCriterion("check_code not in", values, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeBetween(String value1, String value2) {
            addCriterion("check_code between", value1, value2, "checkCode");
            return (Criteria) this;
        }

        public Criteria andCheckCodeNotBetween(String value1, String value2) {
            addCriterion("check_code not between", value1, value2, "checkCode");
            return (Criteria) this;
        }

        public Criteria andIsExchangeIsNull() {
            addCriterion("is_exchange is null");
            return (Criteria) this;
        }

        public Criteria andIsExchangeIsNotNull() {
            addCriterion("is_exchange is not null");
            return (Criteria) this;
        }

        public Criteria andIsExchangeEqualTo(String value) {
            addCriterion("is_exchange =", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeNotEqualTo(String value) {
            addCriterion("is_exchange <>", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeGreaterThan(String value) {
            addCriterion("is_exchange >", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeGreaterThanOrEqualTo(String value) {
            addCriterion("is_exchange >=", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeLessThan(String value) {
            addCriterion("is_exchange <", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeLessThanOrEqualTo(String value) {
            addCriterion("is_exchange <=", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeLike(String value) {
            addCriterion("is_exchange like", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeNotLike(String value) {
            addCriterion("is_exchange not like", value, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeIn(List<String> values) {
            addCriterion("is_exchange in", values, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeNotIn(List<String> values) {
            addCriterion("is_exchange not in", values, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeBetween(String value1, String value2) {
            addCriterion("is_exchange between", value1, value2, "isExchange");
            return (Criteria) this;
        }

        public Criteria andIsExchangeNotBetween(String value1, String value2) {
            addCriterion("is_exchange not between", value1, value2, "isExchange");
            return (Criteria) this;
        }

        public Criteria andCustom1IsNull() {
            addCriterion("custom_1 is null");
            return (Criteria) this;
        }

        public Criteria andCustom1IsNotNull() {
            addCriterion("custom_1 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom1EqualTo(String value) {
            addCriterion("custom_1 =", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotEqualTo(String value) {
            addCriterion("custom_1 <>", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1GreaterThan(String value) {
            addCriterion("custom_1 >", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1GreaterThanOrEqualTo(String value) {
            addCriterion("custom_1 >=", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1LessThan(String value) {
            addCriterion("custom_1 <", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1LessThanOrEqualTo(String value) {
            addCriterion("custom_1 <=", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1Like(String value) {
            addCriterion("custom_1 like", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotLike(String value) {
            addCriterion("custom_1 not like", value, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1In(List<String> values) {
            addCriterion("custom_1 in", values, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotIn(List<String> values) {
            addCriterion("custom_1 not in", values, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1Between(String value1, String value2) {
            addCriterion("custom_1 between", value1, value2, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom1NotBetween(String value1, String value2) {
            addCriterion("custom_1 not between", value1, value2, "custom1");
            return (Criteria) this;
        }

        public Criteria andCustom2IsNull() {
            addCriterion("custom_2 is null");
            return (Criteria) this;
        }

        public Criteria andCustom2IsNotNull() {
            addCriterion("custom_2 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom2EqualTo(String value) {
            addCriterion("custom_2 =", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotEqualTo(String value) {
            addCriterion("custom_2 <>", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2GreaterThan(String value) {
            addCriterion("custom_2 >", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2GreaterThanOrEqualTo(String value) {
            addCriterion("custom_2 >=", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2LessThan(String value) {
            addCriterion("custom_2 <", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2LessThanOrEqualTo(String value) {
            addCriterion("custom_2 <=", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2Like(String value) {
            addCriterion("custom_2 like", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotLike(String value) {
            addCriterion("custom_2 not like", value, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2In(List<String> values) {
            addCriterion("custom_2 in", values, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotIn(List<String> values) {
            addCriterion("custom_2 not in", values, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2Between(String value1, String value2) {
            addCriterion("custom_2 between", value1, value2, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom2NotBetween(String value1, String value2) {
            addCriterion("custom_2 not between", value1, value2, "custom2");
            return (Criteria) this;
        }

        public Criteria andCustom3IsNull() {
            addCriterion("custom_3 is null");
            return (Criteria) this;
        }

        public Criteria andCustom3IsNotNull() {
            addCriterion("custom_3 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom3EqualTo(String value) {
            addCriterion("custom_3 =", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotEqualTo(String value) {
            addCriterion("custom_3 <>", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3GreaterThan(String value) {
            addCriterion("custom_3 >", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3GreaterThanOrEqualTo(String value) {
            addCriterion("custom_3 >=", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3LessThan(String value) {
            addCriterion("custom_3 <", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3LessThanOrEqualTo(String value) {
            addCriterion("custom_3 <=", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3Like(String value) {
            addCriterion("custom_3 like", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotLike(String value) {
            addCriterion("custom_3 not like", value, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3In(List<String> values) {
            addCriterion("custom_3 in", values, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotIn(List<String> values) {
            addCriterion("custom_3 not in", values, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3Between(String value1, String value2) {
            addCriterion("custom_3 between", value1, value2, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom3NotBetween(String value1, String value2) {
            addCriterion("custom_3 not between", value1, value2, "custom3");
            return (Criteria) this;
        }

        public Criteria andCustom4IsNull() {
            addCriterion("custom_4 is null");
            return (Criteria) this;
        }

        public Criteria andCustom4IsNotNull() {
            addCriterion("custom_4 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom4EqualTo(String value) {
            addCriterion("custom_4 =", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotEqualTo(String value) {
            addCriterion("custom_4 <>", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4GreaterThan(String value) {
            addCriterion("custom_4 >", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4GreaterThanOrEqualTo(String value) {
            addCriterion("custom_4 >=", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4LessThan(String value) {
            addCriterion("custom_4 <", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4LessThanOrEqualTo(String value) {
            addCriterion("custom_4 <=", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4Like(String value) {
            addCriterion("custom_4 like", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotLike(String value) {
            addCriterion("custom_4 not like", value, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4In(List<String> values) {
            addCriterion("custom_4 in", values, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotIn(List<String> values) {
            addCriterion("custom_4 not in", values, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4Between(String value1, String value2) {
            addCriterion("custom_4 between", value1, value2, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom4NotBetween(String value1, String value2) {
            addCriterion("custom_4 not between", value1, value2, "custom4");
            return (Criteria) this;
        }

        public Criteria andCustom5IsNull() {
            addCriterion("custom_5 is null");
            return (Criteria) this;
        }

        public Criteria andCustom5IsNotNull() {
            addCriterion("custom_5 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom5EqualTo(String value) {
            addCriterion("custom_5 =", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotEqualTo(String value) {
            addCriterion("custom_5 <>", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5GreaterThan(String value) {
            addCriterion("custom_5 >", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5GreaterThanOrEqualTo(String value) {
            addCriterion("custom_5 >=", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5LessThan(String value) {
            addCriterion("custom_5 <", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5LessThanOrEqualTo(String value) {
            addCriterion("custom_5 <=", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5Like(String value) {
            addCriterion("custom_5 like", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotLike(String value) {
            addCriterion("custom_5 not like", value, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5In(List<String> values) {
            addCriterion("custom_5 in", values, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotIn(List<String> values) {
            addCriterion("custom_5 not in", values, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5Between(String value1, String value2) {
            addCriterion("custom_5 between", value1, value2, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom5NotBetween(String value1, String value2) {
            addCriterion("custom_5 not between", value1, value2, "custom5");
            return (Criteria) this;
        }

        public Criteria andCustom6IsNull() {
            addCriterion("custom_6 is null");
            return (Criteria) this;
        }

        public Criteria andCustom6IsNotNull() {
            addCriterion("custom_6 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom6EqualTo(BigDecimal value) {
            addCriterion("custom_6 =", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotEqualTo(BigDecimal value) {
            addCriterion("custom_6 <>", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6GreaterThan(BigDecimal value) {
            addCriterion("custom_6 >", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_6 >=", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6LessThan(BigDecimal value) {
            addCriterion("custom_6 <", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_6 <=", value, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6In(List<BigDecimal> values) {
            addCriterion("custom_6 in", values, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotIn(List<BigDecimal> values) {
            addCriterion("custom_6 not in", values, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_6 between", value1, value2, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom6NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_6 not between", value1, value2, "custom6");
            return (Criteria) this;
        }

        public Criteria andCustom7IsNull() {
            addCriterion("custom_7 is null");
            return (Criteria) this;
        }

        public Criteria andCustom7IsNotNull() {
            addCriterion("custom_7 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom7EqualTo(BigDecimal value) {
            addCriterion("custom_7 =", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotEqualTo(BigDecimal value) {
            addCriterion("custom_7 <>", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7GreaterThan(BigDecimal value) {
            addCriterion("custom_7 >", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_7 >=", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7LessThan(BigDecimal value) {
            addCriterion("custom_7 <", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_7 <=", value, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7In(List<BigDecimal> values) {
            addCriterion("custom_7 in", values, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotIn(List<BigDecimal> values) {
            addCriterion("custom_7 not in", values, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_7 between", value1, value2, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom7NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_7 not between", value1, value2, "custom7");
            return (Criteria) this;
        }

        public Criteria andCustom8IsNull() {
            addCriterion("custom_8 is null");
            return (Criteria) this;
        }

        public Criteria andCustom8IsNotNull() {
            addCriterion("custom_8 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom8EqualTo(BigDecimal value) {
            addCriterion("custom_8 =", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotEqualTo(BigDecimal value) {
            addCriterion("custom_8 <>", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8GreaterThan(BigDecimal value) {
            addCriterion("custom_8 >", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_8 >=", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8LessThan(BigDecimal value) {
            addCriterion("custom_8 <", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_8 <=", value, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8In(List<BigDecimal> values) {
            addCriterion("custom_8 in", values, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotIn(List<BigDecimal> values) {
            addCriterion("custom_8 not in", values, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_8 between", value1, value2, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom8NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_8 not between", value1, value2, "custom8");
            return (Criteria) this;
        }

        public Criteria andCustom9IsNull() {
            addCriterion("custom_9 is null");
            return (Criteria) this;
        }

        public Criteria andCustom9IsNotNull() {
            addCriterion("custom_9 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom9EqualTo(BigDecimal value) {
            addCriterion("custom_9 =", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotEqualTo(BigDecimal value) {
            addCriterion("custom_9 <>", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9GreaterThan(BigDecimal value) {
            addCriterion("custom_9 >", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_9 >=", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9LessThan(BigDecimal value) {
            addCriterion("custom_9 <", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_9 <=", value, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9In(List<BigDecimal> values) {
            addCriterion("custom_9 in", values, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotIn(List<BigDecimal> values) {
            addCriterion("custom_9 not in", values, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_9 between", value1, value2, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom9NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_9 not between", value1, value2, "custom9");
            return (Criteria) this;
        }

        public Criteria andCustom10IsNull() {
            addCriterion("custom_10 is null");
            return (Criteria) this;
        }

        public Criteria andCustom10IsNotNull() {
            addCriterion("custom_10 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom10EqualTo(BigDecimal value) {
            addCriterion("custom_10 =", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotEqualTo(BigDecimal value) {
            addCriterion("custom_10 <>", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10GreaterThan(BigDecimal value) {
            addCriterion("custom_10 >", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_10 >=", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10LessThan(BigDecimal value) {
            addCriterion("custom_10 <", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10LessThanOrEqualTo(BigDecimal value) {
            addCriterion("custom_10 <=", value, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10In(List<BigDecimal> values) {
            addCriterion("custom_10 in", values, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotIn(List<BigDecimal> values) {
            addCriterion("custom_10 not in", values, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_10 between", value1, value2, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom10NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("custom_10 not between", value1, value2, "custom10");
            return (Criteria) this;
        }

        public Criteria andCustom11IsNull() {
            addCriterion("custom_11 is null");
            return (Criteria) this;
        }

        public Criteria andCustom11IsNotNull() {
            addCriterion("custom_11 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom11EqualTo(Integer value) {
            addCriterion("custom_11 =", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotEqualTo(Integer value) {
            addCriterion("custom_11 <>", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11GreaterThan(Integer value) {
            addCriterion("custom_11 >", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_11 >=", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11LessThan(Integer value) {
            addCriterion("custom_11 <", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11LessThanOrEqualTo(Integer value) {
            addCriterion("custom_11 <=", value, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11In(List<Integer> values) {
            addCriterion("custom_11 in", values, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotIn(List<Integer> values) {
            addCriterion("custom_11 not in", values, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11Between(Integer value1, Integer value2) {
            addCriterion("custom_11 between", value1, value2, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom11NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_11 not between", value1, value2, "custom11");
            return (Criteria) this;
        }

        public Criteria andCustom12IsNull() {
            addCriterion("custom_12 is null");
            return (Criteria) this;
        }

        public Criteria andCustom12IsNotNull() {
            addCriterion("custom_12 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom12EqualTo(Integer value) {
            addCriterion("custom_12 =", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotEqualTo(Integer value) {
            addCriterion("custom_12 <>", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12GreaterThan(Integer value) {
            addCriterion("custom_12 >", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_12 >=", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12LessThan(Integer value) {
            addCriterion("custom_12 <", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12LessThanOrEqualTo(Integer value) {
            addCriterion("custom_12 <=", value, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12In(List<Integer> values) {
            addCriterion("custom_12 in", values, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotIn(List<Integer> values) {
            addCriterion("custom_12 not in", values, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12Between(Integer value1, Integer value2) {
            addCriterion("custom_12 between", value1, value2, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom12NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_12 not between", value1, value2, "custom12");
            return (Criteria) this;
        }

        public Criteria andCustom13IsNull() {
            addCriterion("custom_13 is null");
            return (Criteria) this;
        }

        public Criteria andCustom13IsNotNull() {
            addCriterion("custom_13 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom13EqualTo(Integer value) {
            addCriterion("custom_13 =", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotEqualTo(Integer value) {
            addCriterion("custom_13 <>", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13GreaterThan(Integer value) {
            addCriterion("custom_13 >", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_13 >=", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13LessThan(Integer value) {
            addCriterion("custom_13 <", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13LessThanOrEqualTo(Integer value) {
            addCriterion("custom_13 <=", value, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13In(List<Integer> values) {
            addCriterion("custom_13 in", values, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotIn(List<Integer> values) {
            addCriterion("custom_13 not in", values, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13Between(Integer value1, Integer value2) {
            addCriterion("custom_13 between", value1, value2, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom13NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_13 not between", value1, value2, "custom13");
            return (Criteria) this;
        }

        public Criteria andCustom14IsNull() {
            addCriterion("custom_14 is null");
            return (Criteria) this;
        }

        public Criteria andCustom14IsNotNull() {
            addCriterion("custom_14 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom14EqualTo(Integer value) {
            addCriterion("custom_14 =", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotEqualTo(Integer value) {
            addCriterion("custom_14 <>", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14GreaterThan(Integer value) {
            addCriterion("custom_14 >", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_14 >=", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14LessThan(Integer value) {
            addCriterion("custom_14 <", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14LessThanOrEqualTo(Integer value) {
            addCriterion("custom_14 <=", value, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14In(List<Integer> values) {
            addCriterion("custom_14 in", values, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotIn(List<Integer> values) {
            addCriterion("custom_14 not in", values, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14Between(Integer value1, Integer value2) {
            addCriterion("custom_14 between", value1, value2, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom14NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_14 not between", value1, value2, "custom14");
            return (Criteria) this;
        }

        public Criteria andCustom15IsNull() {
            addCriterion("custom_15 is null");
            return (Criteria) this;
        }

        public Criteria andCustom15IsNotNull() {
            addCriterion("custom_15 is not null");
            return (Criteria) this;
        }

        public Criteria andCustom15EqualTo(Integer value) {
            addCriterion("custom_15 =", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotEqualTo(Integer value) {
            addCriterion("custom_15 <>", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15GreaterThan(Integer value) {
            addCriterion("custom_15 >", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15GreaterThanOrEqualTo(Integer value) {
            addCriterion("custom_15 >=", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15LessThan(Integer value) {
            addCriterion("custom_15 <", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15LessThanOrEqualTo(Integer value) {
            addCriterion("custom_15 <=", value, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15In(List<Integer> values) {
            addCriterion("custom_15 in", values, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotIn(List<Integer> values) {
            addCriterion("custom_15 not in", values, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15Between(Integer value1, Integer value2) {
            addCriterion("custom_15 between", value1, value2, "custom15");
            return (Criteria) this;
        }

        public Criteria andCustom15NotBetween(Integer value1, Integer value2) {
            addCriterion("custom_15 not between", value1, value2, "custom15");
            return (Criteria) this;
        }

        public Criteria andTranspotNoIsNull() {
            addCriterion("transpot_no is null");
            return (Criteria) this;
        }

        public Criteria andTranspotNoIsNotNull() {
            addCriterion("transpot_no is not null");
            return (Criteria) this;
        }

        public Criteria andTranspotNoEqualTo(String value) {
            addCriterion("transpot_no =", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoNotEqualTo(String value) {
            addCriterion("transpot_no <>", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoGreaterThan(String value) {
            addCriterion("transpot_no >", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoGreaterThanOrEqualTo(String value) {
            addCriterion("transpot_no >=", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoLessThan(String value) {
            addCriterion("transpot_no <", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoLessThanOrEqualTo(String value) {
            addCriterion("transpot_no <=", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoLike(String value) {
            addCriterion("transpot_no like", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoNotLike(String value) {
            addCriterion("transpot_no not like", value, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoIn(List<String> values) {
            addCriterion("transpot_no in", values, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoNotIn(List<String> values) {
            addCriterion("transpot_no not in", values, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoBetween(String value1, String value2) {
            addCriterion("transpot_no between", value1, value2, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNoNotBetween(String value1, String value2) {
            addCriterion("transpot_no not between", value1, value2, "transpotNo");
            return (Criteria) this;
        }

        public Criteria andTranspotNameIsNull() {
            addCriterion("transpot_name is null");
            return (Criteria) this;
        }

        public Criteria andTranspotNameIsNotNull() {
            addCriterion("transpot_name is not null");
            return (Criteria) this;
        }

        public Criteria andTranspotNameEqualTo(String value) {
            addCriterion("transpot_name =", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameNotEqualTo(String value) {
            addCriterion("transpot_name <>", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameGreaterThan(String value) {
            addCriterion("transpot_name >", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameGreaterThanOrEqualTo(String value) {
            addCriterion("transpot_name >=", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameLessThan(String value) {
            addCriterion("transpot_name <", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameLessThanOrEqualTo(String value) {
            addCriterion("transpot_name <=", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameLike(String value) {
            addCriterion("transpot_name like", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameNotLike(String value) {
            addCriterion("transpot_name not like", value, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameIn(List<String> values) {
            addCriterion("transpot_name in", values, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameNotIn(List<String> values) {
            addCriterion("transpot_name not in", values, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameBetween(String value1, String value2) {
            addCriterion("transpot_name between", value1, value2, "transpotName");
            return (Criteria) this;
        }

        public Criteria andTranspotNameNotBetween(String value1, String value2) {
            addCriterion("transpot_name not between", value1, value2, "transpotName");
            return (Criteria) this;
        }

        public Criteria andPackSizeIsNull() {
            addCriterion("pack_size is null");
            return (Criteria) this;
        }

        public Criteria andPackSizeIsNotNull() {
            addCriterion("pack_size is not null");
            return (Criteria) this;
        }

        public Criteria andPackSizeEqualTo(String value) {
            addCriterion("pack_size =", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeNotEqualTo(String value) {
            addCriterion("pack_size <>", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeGreaterThan(String value) {
            addCriterion("pack_size >", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeGreaterThanOrEqualTo(String value) {
            addCriterion("pack_size >=", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeLessThan(String value) {
            addCriterion("pack_size <", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeLessThanOrEqualTo(String value) {
            addCriterion("pack_size <=", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeLike(String value) {
            addCriterion("pack_size like", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeNotLike(String value) {
            addCriterion("pack_size not like", value, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeIn(List<String> values) {
            addCriterion("pack_size in", values, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeNotIn(List<String> values) {
            addCriterion("pack_size not in", values, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeBetween(String value1, String value2) {
            addCriterion("pack_size between", value1, value2, "packSize");
            return (Criteria) this;
        }

        public Criteria andPackSizeNotBetween(String value1, String value2) {
            addCriterion("pack_size not between", value1, value2, "packSize");
            return (Criteria) this;
        }

        public Criteria andGtinIsNull() {
            addCriterion("gtin is null");
            return (Criteria) this;
        }

        public Criteria andGtinIsNotNull() {
            addCriterion("gtin is not null");
            return (Criteria) this;
        }

        public Criteria andGtinEqualTo(String value) {
            addCriterion("gtin =", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinNotEqualTo(String value) {
            addCriterion("gtin <>", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinGreaterThan(String value) {
            addCriterion("gtin >", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinGreaterThanOrEqualTo(String value) {
            addCriterion("gtin >=", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinLessThan(String value) {
            addCriterion("gtin <", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinLessThanOrEqualTo(String value) {
            addCriterion("gtin <=", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinLike(String value) {
            addCriterion("gtin like", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinNotLike(String value) {
            addCriterion("gtin not like", value, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinIn(List<String> values) {
            addCriterion("gtin in", values, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinNotIn(List<String> values) {
            addCriterion("gtin not in", values, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinBetween(String value1, String value2) {
            addCriterion("gtin between", value1, value2, "gtin");
            return (Criteria) this;
        }

        public Criteria andGtinNotBetween(String value1, String value2) {
            addCriterion("gtin not between", value1, value2, "gtin");
            return (Criteria) this;
        }

        public Criteria andUomIsNull() {
            addCriterion("uom is null");
            return (Criteria) this;
        }

        public Criteria andUomIsNotNull() {
            addCriterion("uom is not null");
            return (Criteria) this;
        }

        public Criteria andUomEqualTo(String value) {
            addCriterion("uom =", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomNotEqualTo(String value) {
            addCriterion("uom <>", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomGreaterThan(String value) {
            addCriterion("uom >", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomGreaterThanOrEqualTo(String value) {
            addCriterion("uom >=", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomLessThan(String value) {
            addCriterion("uom <", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomLessThanOrEqualTo(String value) {
            addCriterion("uom <=", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomLike(String value) {
            addCriterion("uom like", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomNotLike(String value) {
            addCriterion("uom not like", value, "uom");
            return (Criteria) this;
        }

        public Criteria andUomIn(List<String> values) {
            addCriterion("uom in", values, "uom");
            return (Criteria) this;
        }

        public Criteria andUomNotIn(List<String> values) {
            addCriterion("uom not in", values, "uom");
            return (Criteria) this;
        }

        public Criteria andUomBetween(String value1, String value2) {
            addCriterion("uom between", value1, value2, "uom");
            return (Criteria) this;
        }

        public Criteria andUomNotBetween(String value1, String value2) {
            addCriterion("uom not between", value1, value2, "uom");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedIsNull() {
            addCriterion("packs_ordered is null");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedIsNotNull() {
            addCriterion("packs_ordered is not null");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedEqualTo(String value) {
            addCriterion("packs_ordered =", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedNotEqualTo(String value) {
            addCriterion("packs_ordered <>", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedGreaterThan(String value) {
            addCriterion("packs_ordered >", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedGreaterThanOrEqualTo(String value) {
            addCriterion("packs_ordered >=", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedLessThan(String value) {
            addCriterion("packs_ordered <", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedLessThanOrEqualTo(String value) {
            addCriterion("packs_ordered <=", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedLike(String value) {
            addCriterion("packs_ordered like", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedNotLike(String value) {
            addCriterion("packs_ordered not like", value, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedIn(List<String> values) {
            addCriterion("packs_ordered in", values, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedNotIn(List<String> values) {
            addCriterion("packs_ordered not in", values, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedBetween(String value1, String value2) {
            addCriterion("packs_ordered between", value1, value2, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksOrderedNotBetween(String value1, String value2) {
            addCriterion("packs_ordered not between", value1, value2, "packsOrdered");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedIsNull() {
            addCriterion("packs_supplied is null");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedIsNotNull() {
            addCriterion("packs_supplied is not null");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedEqualTo(String value) {
            addCriterion("packs_supplied =", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedNotEqualTo(String value) {
            addCriterion("packs_supplied <>", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedGreaterThan(String value) {
            addCriterion("packs_supplied >", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedGreaterThanOrEqualTo(String value) {
            addCriterion("packs_supplied >=", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedLessThan(String value) {
            addCriterion("packs_supplied <", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedLessThanOrEqualTo(String value) {
            addCriterion("packs_supplied <=", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedLike(String value) {
            addCriterion("packs_supplied like", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedNotLike(String value) {
            addCriterion("packs_supplied not like", value, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedIn(List<String> values) {
            addCriterion("packs_supplied in", values, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedNotIn(List<String> values) {
            addCriterion("packs_supplied not in", values, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedBetween(String value1, String value2) {
            addCriterion("packs_supplied between", value1, value2, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andPacksSuppliedNotBetween(String value1, String value2) {
            addCriterion("packs_supplied not between", value1, value2, "packsSupplied");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNull() {
            addCriterion("unit_price is null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIsNotNull() {
            addCriterion("unit_price is not null");
            return (Criteria) this;
        }

        public Criteria andUnitPriceEqualTo(BigDecimal value) {
            addCriterion("unit_price =", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotEqualTo(BigDecimal value) {
            addCriterion("unit_price <>", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThan(BigDecimal value) {
            addCriterion("unit_price >", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price >=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThan(BigDecimal value) {
            addCriterion("unit_price <", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("unit_price <=", value, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceIn(List<BigDecimal> values) {
            addCriterion("unit_price in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotIn(List<BigDecimal> values) {
            addCriterion("unit_price not in", values, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andUnitPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("unit_price not between", value1, value2, "unitPrice");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNull() {
            addCriterion("payment_type is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNotNull() {
            addCriterion("payment_type is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualTo(String value) {
            addCriterion("payment_type =", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualTo(String value) {
            addCriterion("payment_type <>", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThan(String value) {
            addCriterion("payment_type >", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("payment_type >=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThan(String value) {
            addCriterion("payment_type <", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualTo(String value) {
            addCriterion("payment_type <=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLike(String value) {
            addCriterion("payment_type like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotLike(String value) {
            addCriterion("payment_type not like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIn(List<String> values) {
            addCriterion("payment_type in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotIn(List<String> values) {
            addCriterion("payment_type not in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeBetween(String value1, String value2) {
            addCriterion("payment_type between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotBetween(String value1, String value2) {
            addCriterion("payment_type not between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIsNull() {
            addCriterion("receive_time is null");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIsNotNull() {
            addCriterion("receive_time is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeEqualTo(Date value) {
            addCriterion("receive_time =", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotEqualTo(Date value) {
            addCriterion("receive_time <>", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeGreaterThan(Date value) {
            addCriterion("receive_time >", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("receive_time >=", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeLessThan(Date value) {
            addCriterion("receive_time <", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeLessThanOrEqualTo(Date value) {
            addCriterion("receive_time <=", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIn(List<Date> values) {
            addCriterion("receive_time in", values, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotIn(List<Date> values) {
            addCriterion("receive_time not in", values, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeBetween(Date value1, Date value2) {
            addCriterion("receive_time between", value1, value2, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotBetween(Date value1, Date value2) {
            addCriterion("receive_time not between", value1, value2, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andDepotIdIsNull() {
            addCriterion("depot_id is null");
            return (Criteria) this;
        }

        public Criteria andDepotIdIsNotNull() {
            addCriterion("depot_id is not null");
            return (Criteria) this;
        }

        public Criteria andDepotIdEqualTo(String value) {
            addCriterion("depot_id =", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotEqualTo(String value) {
            addCriterion("depot_id <>", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdGreaterThan(String value) {
            addCriterion("depot_id >", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdGreaterThanOrEqualTo(String value) {
            addCriterion("depot_id >=", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLessThan(String value) {
            addCriterion("depot_id <", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLessThanOrEqualTo(String value) {
            addCriterion("depot_id <=", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdLike(String value) {
            addCriterion("depot_id like", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotLike(String value) {
            addCriterion("depot_id not like", value, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdIn(List<String> values) {
            addCriterion("depot_id in", values, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotIn(List<String> values) {
            addCriterion("depot_id not in", values, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdBetween(String value1, String value2) {
            addCriterion("depot_id between", value1, value2, "depotId");
            return (Criteria) this;
        }

        public Criteria andDepotIdNotBetween(String value1, String value2) {
            addCriterion("depot_id not between", value1, value2, "depotId");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoIsNull() {
            addCriterion("invoice_no is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoIsNotNull() {
            addCriterion("invoice_no is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoEqualTo(String value) {
            addCriterion("invoice_no =", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoNotEqualTo(String value) {
            addCriterion("invoice_no <>", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoGreaterThan(String value) {
            addCriterion("invoice_no >", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_no >=", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoLessThan(String value) {
            addCriterion("invoice_no <", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoLessThanOrEqualTo(String value) {
            addCriterion("invoice_no <=", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoLike(String value) {
            addCriterion("invoice_no like", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoNotLike(String value) {
            addCriterion("invoice_no not like", value, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoIn(List<String> values) {
            addCriterion("invoice_no in", values, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoNotIn(List<String> values) {
            addCriterion("invoice_no not in", values, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoBetween(String value1, String value2) {
            addCriterion("invoice_no between", value1, value2, "invoiceNo");
            return (Criteria) this;
        }

        public Criteria andInvoiceNoNotBetween(String value1, String value2) {
            addCriterion("invoice_no not between", value1, value2, "invoiceNo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}